{% extends 'todo/base.html' %}

{% block content %}
    <h2>{{ title }}</h2>
    <form method="post">
        {% csrf_token %}
        {{ form.as_p }}
        <button type="submit">提交</button>
    </form>
    <a href="{% url 'index' %}">返回首页</a>
{% endblock %}